#ifndef LOCAL_IO_H
#define LOCAL_IO_H

typedef enum
{
    BUTTON_STATUS_RELEASE = 0,
    BUTTON_STATUS_PRESS
} ButtonStatus_t;

typedef enum
{
    BUTTON_ID_EMERGENCY_STOP = 0,
    BUTTON_ID_ENGINE_START,
    BUTTON_ID_ENGINE_STOP,
    BUTTON_ID_LIGHTING,
    BUTTON_ID_HORN,
    BUTTON_ID_SPEED,
    BUTTON_ID_COUNT
}ButtonID_t;

ButtonStatus_t ButtonGetState(ButtonID_t bid);

#endif
